package top.maochang.hou.vo;

import lombok.Data;

@Data
public class PageVo {
   public  int page;
   public  int limit;
   public  int offset;

   /**
    * 计算位置偏移量
    * @return
    */
   public int getOffset() {
      return  (this.page-1)*this.limit;
   }

}
